package com.jingxing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingxing.mapper.PlayerUserInfoMapper;
import com.jingxing.pojo.PlayerUserInfo;
import com.jingxing.service.PlayerUserInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class PlayerUserInfoServiceImpl extends ServiceImpl<PlayerUserInfoMapper, PlayerUserInfo> implements PlayerUserInfoService {

    @Autowired
    private PlayerUserInfoMapper playerUserInfoMapper;

    @Override
    public List<PlayerUserInfo> getPlayerUserInfos(String name, String phone) {
        return playerUserInfoMapper.getPlayerUserInfos(name, phone);
    }
}
